import requests from '../request'

// 获取注册验证码 /api/user/passport/sendCode/{phone} GET
export const reqGetCode = (phone)=>requests({
  url:`/user/passport/sendCode/${phone}`,
  method:'get'
})

// 用户注册 /api/user/passport/register  POST phone ,password,code
export const reqRegister = (data)=>requests({
  url:`/user/passport/register`,
  method:'POST',
  data: data,
})